import { Component, ViewChild } from '@angular/core';
import { IonicPage, NavController,Tabs } from 'ionic-angular';
import { StorageProvider } from '../../providers/storage/storage';

/**
 * Generated class for the TabsPage tabs.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */

@IonicPage()
@Component({
  selector: 'page-tabs',
  templateUrl: 'tabs.html'
})
export class TabsPage {

@ViewChild('mainTabs') tabRef: Tabs;

  homeRoot = 'HomePage'
  nearRoot = 'NearPage'
  centerRoot = 'CenterPage'

  constructor(
  	public navCtrl: NavController,
  	public storage: StorageProvider,) {}

}
